package it.univaq.mwt.backoffice.form;


import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.*;


public class ServiceForm extends ActionForm
{
	private static final long serialVersionUID = 1L;
	
	private String name = null;
	private String nameScript = null;
	private int[] group=new int[0];
	private int position=0;
		
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	
	    public String getNameScript() {
		return nameScript;
	}

	public void setNameScript(String nameScript) {
		this.nameScript = nameScript;
	}



	public int[] getGroup() {
		return group;
	}

	public void setGroup(int[] group) {
		this.group = group;
	}

	public int getPosition() {
		return position;
	}

	public void setPosition(int position) {
		this.position = position;
	}

		public void reset(ActionMapping mapping, HttpServletRequest request) {
        
	    	
    
        }

        /**
         * Reset all properties to their default values.
         *
         * @param mapping The mapping used to select this instance
         * @param request The servlet request we are processing
       * @return errors
         */
      public ActionErrors validate( 
          ActionMapping mapping, HttpServletRequest request ) {
          ActionErrors errors = new ActionErrors();
          

          return errors;
      }
	
}
